package com.aaa.dao;

import com.aaa.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface BookMapper{
    List<Book> find(Integer pageSize,Integer pageNum);
    Integer findcount();
    Integer add(String name);
    int add(Book book);
    int update(Book book);
    int undercarriage(Integer id);

    List<Book> find1();
}
